package com.itheima.dao;

import com.itheima.domain.Question;

import java.util.List;

public interface QuestionDao {
    //查询所有数据
    List<Question> findAll();

    //添加数据
    void save(Question question);

    Question findById(String id);

    void update(Question question);

    void delete(String id);
}
